package net.wanho.zx.zx_cms.service;


import net.wanho.zx.pojo.cms.CmsSite;
import net.wanho.zx.zx_cms.dao.CmsSiteRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CmsSiteService {

    @Resource
    CmsSiteRepository cmsSiteRepository;

    public List<CmsSite> query(){
        return cmsSiteRepository.findAll();
    }
}
